package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.PersonalScoreList.PersonalScoreContent;

/**
 * Created by wu on 2016/4/21.
 */
public class PersonalScoreDetailActivity extends SingleFragmentActivity {
  private PersonalScoreContent content;
  private String type;

  @Override protected Fragment createFragment() {
    content = (PersonalScoreContent) getIntent().getSerializableExtra(
        PersonalScoreDetailFragment.EXTRA_VALUE);
    type = getIntent().getStringExtra(PersonalScoreDetailFragment.EXTRA_TYPE);
    String from = getIntent().getStringExtra(PersonalScoreDetailFragment.EXTRA_FROM);
    return PersonalScoreDetailFragment.newInstance(content, type, from);
  }
}
